package com.lightjet.macross.base.upms.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@ApiModel(description = "适用于AdminLTE后台模板的菜单Json")
public class AdminLTEMenuDTO {

    @ApiModelProperty(value = "菜单资源ID")
    private String id;

    @ApiModelProperty(value = "菜单显示名称")
    private String text;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "菜单资源访问地址")
    private String url;

    @ApiModelProperty(value = "菜单打开类型 iframe-tab 在页签中打开")
    private String targetType;

    @ApiModelProperty(value = "菜单链接类型 abosulte 绝对地址 ")
    private String urlType;

    @ApiModelProperty(value = "菜单自定义参数")
    private String memo;

    @ApiModelProperty(value = "子菜单")
    private List<AdminLTEMenuDTO> children;

}
